import {
    AppointmentSuccess,
    ConfirmAppointment,
    HomePage,
    MyMedicalCard,
    NewMedicalCard,
    PatientList,
    ScheduleCalendar
} from "./Pages";

import depart from "../views/departlist/router"
import doctor from "../views/doctorlist/router"
import hospital from "../views/hospitallist/router"

export default [
    {
        component: HomePage,
        exact: true,
        path: '/'
    },
    {
        component: AppointmentSuccess,
        path: '/appointment/success',
    },
    {
        component: MyMedicalCard,
        path: '/medicalcard/my',
    },
    {
        component: NewMedicalCard,
        path: '/medicalcard/new',
    },
    {
        component: ScheduleCalendar,
        path: '/scheduleCalendar',
    },
    {
        component: ConfirmAppointment,
        path: '/appointment/confirm',
    },
    {
        component: PatientList,
        path: '/patient/list',
    },
].concat(depart, hospital, doctor);